<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/6/30
 * Time: 16:00
 */

namespace app\jiaxiaotong\validate;


use think\Validate;

class HelpAwardValidate extends Validate
{
    protected $rule = [
        'type' => 'require',
        'content' => 'require',
        'student_id' => 'require',

    ];

    protected $message = [
        'student_id.require' => '选择孩子',
        'type.require' => '助学金类型需要',
        'content.require' => '申请内容需要添加',
    ];
}